package com.code.mapper;

import com.code.AZPlan.model.po.XTExchangeRate;
import com.code.commons.dao.CrudMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * api持久层映射接口
 *
 * @author tangyifei
 * @since 2019年12月21日12:10:19
 */
@Repository
public interface XTMapper extends CrudMapper<XTExchangeRate> {

    XTExchangeRate getXTExchangeRate(@Param("exchangeType") String exchangeType);

    void insertXTExchangeRateList(List<XTExchangeRate> xtExchangeRateList);

    void updateXTExchangeRateList(List<XTExchangeRate> xtExchangeRateList);
}
